package cn.zmwh.bbs.modules.bbs.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 评论
 * </p>
 *
 * @author dmzmwh
 * @since 2025-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("forum_comment")
@ApiModel(value="ForumComment对象", description="评论")
public class ForumComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "父级评论ID")
    private Long pid;

    @ApiModelProperty(value = "文章ID")
    private String articleNo;

    @ApiModelProperty(value = "回复内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String imgPath;

    @ApiModelProperty(value = "用户ID")
    private Long uid;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "用户ip地址")
    private String userIpAddress;

    @ApiModelProperty(value = "回复人ID")
    private Long replyUid;

    @ApiModelProperty(value = "回复人昵称")
    private String replyNickName;

    @ApiModelProperty(value = "0:未置顶  1:置顶")
    private Integer topType;

    @ApiModelProperty(value = "发布时间")
    private Date postTime;

    @ApiModelProperty(value = "good数量")
    private Integer goodCount;

    @ApiModelProperty(value = "0:待审核  1:已审核")
    private Integer status;


}
